namespace CurriculaAPI.POCOModel
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("Professor")]
    public partial class Professor
    {
        public int ID { get; set; }

        [Required]
        [StringLength(20)]
        public string Name { get; set; }

        [Required]
        [StringLength(100)]
        public string Avatar { get; set; }

        public int Sex { get; set; }

        public int CategoryName { get; set; }

        public int CourseName { get; set; }

        public int TitleName { get; set; }

        public DateTime CreateDateTime { get; set; }

        public bool IsDeleted { get; set; }

        public virtual CategoryName CategoryName1 { get; set; }

        public virtual CourseName CourseName1 { get; set; }

        public virtual TitleName TitleName1 { get; set; }
    }
}
